<?php

namespace JLPay\Models\Merchant;

use JLPay\Models\BaseResponse;

/**
 * 商户申请单作废响应
 */
class MerchantOrderCancelResponse extends BaseResponse
{
    protected ?string $applyId = null;

    /**
     * 构造函数
     *
     * @param array $data 响应数据
     */
    public function __construct(array $data)
    {
        parent::__construct($data);
        
        $this->applyId = $data['apply_id'] ?? null;
    }

    /**
     * 获取申请单编号
     *
     * @return string|null
     */
    public function getApplyId(): ?string
    {
        return $this->applyId;
    }
} 